#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int mian()
{
	int iq = 0;
	while (scanf("%d", &iq) != EOF)
	{
		if (iq >= 140)
			printf("Geinus\n");
		else
			printf("NO");
	}
	return 0;
}